package club.youth996.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author Zhan Xinjian
 * @since 2020-07-08
 */
public class MallGoodsComment implements Serializable {

private static final long serialVersionUID=1L;

    /**
     * 唯一id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评论商品id
     */
    private Integer goodsId;

    /**
     * 用户id
     */
    private Integer userId;

    /**
     * 评论信息
     */
    private String comment;

    /**
     * 购买商品信息
     */
    private String buyInfo;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getBuyInfo() {
        return buyInfo;
    }

    public void setBuyInfo(String buyInfo) {
        this.buyInfo = buyInfo;
    }

    @Override
    public String toString() {
        return "MallGoodsComment{" +
        "id=" + id +
        ", goodsId=" + goodsId +
        ", userId=" + userId +
        ", comment=" + comment +
        ", buyInfo=" + buyInfo +
        "}";
    }
}
